package org.jeecg.modules.lab.chemical.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.lab.chemical.entity.ChemicalName;
import org.jeecg.modules.lab.chemical.entity.ChemicalType;
import org.jeecg.modules.lab.chemical.mapper.ChemicalNameMapper;
import org.jeecg.modules.lab.chemical.mapper.ChemicalTypeMapper;
import org.jeecg.modules.lab.chemical.service.ChemicalNameService;
import org.jeecg.modules.lab.chemical.service.ChemicalTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChemicalNameServiceImpl extends ServiceImpl<ChemicalNameMapper, ChemicalName> implements ChemicalNameService {

    @Autowired
    private ChemicalNameMapper chemicalNameMapper;
    @Override
    public List<ChemicalName> queryName() {
        List<ChemicalName> chemicalNames = chemicalNameMapper.queryName();
        return chemicalNames;
    }
}
